package com.javasea.websocket.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author longxiaonan
 * @since 2020-10-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Notice implements Serializable {

    private static final long serialVersionUID=1L;

    private String id;

    private String title;

    private String type;

    private String method;
    /**
     * 业务单id
     */
    private String sourceId;

    /**
     * 业务单单号
     */
    private String bzCode;

    private String content;

    private Integer state;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 创建人
     */
    private String createBy;

    private String createByName;

    /**
     * 最后修改时间
     */
    private LocalDateTime lastUpdateTime;

    /**
     * 最后修改人
     */
    private String lastUpdateBy;

    /**
     * 最后修改人
     */
    private String lastUpdateByName;

    /**
     * 租户id
     */
    private String tenantId;

}
